package cn.kgc.service;

import cn.kgc.pojo.Supplier;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface SupplierService {

    //查询所有供货商
    public List<Supplier> queryAllSupplier(String supplierId,String supplierName,Integer pageNum,Integer pageSize);

    //添加供货商
    public Integer addSupplier(Supplier supplier);

    //查询指定供货商
    public Supplier queryByIdSupplier(Integer id);

    //修改供货商
    public Integer updateSupplier(String supplierId);

    //供货商无效化
    public Integer deleteSupplierId(String supplierId);
}
